@extends('layouts.app')

@section('content')
<div class="container">
    @foreach($users as $user) 
    @if(Str::startsWith($user->avatar, 'http')) 
        <img src="{{$user->avatar}}" width="144"/>
    @else
        <img src="https://pic.touxiangge.com/{{$user->avatar}}" width="144"/>
    @endif
    @endforeach
    {{$users->links()}}
</div>
@stop